package com.timmy.google_play.protocol;

import android.support.annotation.NonNull;

import com.timmy.google_play.base.BaseProtocol;
import com.timmy.google_play.bean.ItemBean;

import java.util.List;

/**
 * Created by Timmy on 2016/12/12.
 */
public class AppProtocol extends BaseProtocol<List<ItemBean>> {
    @NonNull
    @Override
    protected String getInterfaceKey() {
        return "app";
    }

//    @Override
//    protected List<ItemBean> parseData(String body, Gson gson) {
//        return gson.fromJson(body, new TypeToken<List<ItemBean>>() {
//        }.getType());
//    }
}
